from machine import Pin,ADC
import time

mic = Pin(17)


while True:
    
    if mic.value() == 0:
        print("有声音")
    time.sleep_ms(10)
